package com.wynne.ptldemo.enums;

public enum RouteState {

    START(10, "START", "开启流程"),
    TERMINATE(20, "TERMINATE", "终止流程"),
    FINISH(30, "FINISH", "结束流程");

    private int value;
    private String code;
    private String description;

    RouteState(int value, String code, String description) {
        this.value = value;
        this.code = code;
        this.description = description;
    }

    public int getValue() {
        return value;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

}
